package com.gamefx.binding
{

	public class BindingMgr
	{

		public static function bindProperty(site:Object, prop:String, host:IBinding, chain:String):void
		{
			host.proxy.bindProperty(chain, site, prop);
		}
		
		public static function bindSetter(setter:Function, host:IBinding, chain:String):void
		{
			host.proxy.bindSetter(chain, setter);
		}
		
		
		/**
		 * 针对某个宿主，暂停其所有相关绑定
		 * 
		 */
		public static function sleepHostBinding():void
		{
			
		}

		public static function wakeupHostBinding():void
		{
			
		}
		
		
		/**
		 * 针对某个宿主，恢复其所有相关绑定
		 * 
		 */
		public static function sleepSiteBinding():void
		{
			
		}
		
		public static function wakeupSiteBinding():void
		{
			
		}

		
		/**
		 * 针对某个宿主，移除其所有相关绑定
		 * 
		 */
		public static function removeHostBinding():void
		{
			
		}

	}
}